package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.ProductLibrary;
import com.ytjj.qmyx.mall.model.ProductLibraryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductLibraryMapper {
    long countByExample(ProductLibraryExample example);

    int deleteByExample(ProductLibraryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ProductLibrary record);

    int insertSelective(ProductLibrary record);

    List<ProductLibrary> selectByExampleWithBLOBs(ProductLibraryExample example);

    List<ProductLibrary> selectByExample(ProductLibraryExample example);

    ProductLibrary selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ProductLibrary record, @Param("example") ProductLibraryExample example);

    int updateByExampleWithBLOBs(@Param("record") ProductLibrary record, @Param("example") ProductLibraryExample example);

    int updateByExample(@Param("record") ProductLibrary record, @Param("example") ProductLibraryExample example);

    int updateByPrimaryKeySelective(ProductLibrary record);

    int updateByPrimaryKeyWithBLOBs(ProductLibrary record);

    int updateByPrimaryKey(ProductLibrary record);
}